package cn.iocoder.yudao.module.product.spu.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "用户 APP - 产品 SPU 分页 Request VO")
@Data
public class AppProductSpuPageForSellerReqVO extends PageParam {

    @Schema(description = "排序字段：DEFAULT-综合、PRICE-价格、SALES_COUNT-销量、CREATE_TIME-时间、RANDOM-随机", example = "DEFAULT")
    //@InEnumValue(ProductSpuSortFieldEnum.class)
    private String sortField;

    @Schema(description = "是否升序", example = "true")
    private Boolean sortAsc;

    @Schema(description = "关键字", example = "好看")
    private String keyword;

    @Schema(description = "前端请求的页签类型：ALL-全部、FOR_SALE-销售中、IN_WAREHOUSE-仓库中/已下架、SOLD_OUT-已售罄、RECYCLE_BIN-回收站、ALERT_STOCK-警戒库存", example = "ALL")
    private String tabType;

}
